<form id="frmEditAddData" method="post" action="<?=$action;?>">
<div id="bottom-content">
	<div id="main-content">
		<div id="breadcrumb">
			<img src="<?=base_url()?>themes/default/images/icon-home.gif" />
			<ul>
				<li class="first"><a href="<?=site_url()?>home"><?=$this->lang->line('home');?></a></li>
				<li class="current"><a href="<?=site_url()?>contact"><?=$this->lang->line('contact');?></a></li>
			</ul>
		</div>
		<div class="main-box">
			<div class="main-box-top"><span><?=$this->lang->line('contact');?></span></div>
			<div class="main-box-content">
				<div class="message"><?=$message;?></div>
				<div class="row">
					<strong><?=$this->lang->line('address');?></strong>: <?=$contact_address?>
				</div>
				<div class="row">
					<strong><?=$this->lang->line('phone');?></strong>: <?=$contact_phone?>
				</div>
				<div class="row">
					<strong><?=$this->lang->line('fax');?></strong>: <?=$contact_fax?>
				</div>
				<div class="row">
					<strong><?=$this->lang->line('email');?></strong>: <?=$contact_email?><br>
				</div>
				<div class="row">
					<label><?=$this->lang->line('title');?>:</label>
					<input type="text" id="title" name="title" value="<?=$this->validation->title ?>"/>
					<?php echo $this->validation->title_error; ?>
				</div>
				<div class="row">
					<label><?=$this->lang->line('full-name');?>:</label>
					<input type="text" id="name" name="name" value="<?=$this->validation->name ?>"/>
					<?php echo $this->validation->name_error; ?>
				</div>
				<div class="row">
					<label><?=$this->lang->line('email');?>:</label>
					<input type="text" id="email" name="email" value="<?=$this->validation->email ?>"/>
					<?php echo $this->validation->email_error; ?>
				</div>
				<div class="row">
					<label><?=$this->lang->line('content');?>:</label>
					<textarea rows="5" cols="30" name="content"><?=$this->validation->content ?></textarea>
					<?php echo $this->validation->content_error; ?>
				</div>
				<div class="row">
					<label><?=$this->lang->line('code');?>:</label>
					<input type="text" id="captcha" size="10" name="captcha" value="<?=$this->validation->captcha ?>"/>
					<?php echo $this->validation->captcha_error; ?>
				</div>
				<div class="row">
					<label>&nbsp;</label>
					<?=$captcha_image?>
				</div>
				<div class="row">
					<label>&nbsp;</label>
					<input type="submit" id="submit" value="<?=$this->lang->line('send');?>" />
				</div>
			</div>
			<div class="main-box-bottom"></div>
		</div>
	</div>
	<?php require_once 'components/partner.php'; ?>
	<?php require_once 'components/visitor.php'; ?>
	<?php require_once 'components/ads.php'; ?>
</div>
</form>